LoginPanel update

Also some changes to QueryManager, and Account. Added constructor to
Account and fixed getAccount query from QueryManager.