Correct getting user id from request.