Refactor user.html