implemented User class
added a login window