updated createaccount method
implemented stub of sessionsOfUser