'Get a UserProfile object from the user_profile_id.'

def get_user(self, user_profile_id):

    try:
        return get_user_profile_by_id(user_profile_id)
    except UserProfile.DoesNotExist:
        return None
