modified getUser()