Getting current date and time works. Initialized mainPanel in
mainView..(This was the source of the error initalize error that comes
up after login)