refatored server code so getting current username is as easy as calling getUser()