added 'username' attribute to User class