update user login data
enhance sorting