#include "profilepage.h"

ProfilePage::ProfilePage(QWidget *parent) : QWidget(parent)
{
    User user;
    userService = UserService::getInstance();
    userService->getCurrentUser(user);
//    userService->getUser("b2",user);

    lblDOB = new QLabel(user.getDOB());
    lblFirstname = new QLabel(user.getFirstName());
    lblLastname = new QLabel(user.getLastName());
    lblUsername = new QLabel(user.getUsername());