add get_user method for user models