Add GetUser function to user model