adding user id to the payload