Added $sql_select params to the get_user_by_id() and get_user_by_identity() function