get_user_info method modified