Refactor user token to middleware.