Creating all users' related code; Authentication (login and logout) Let's also create our UsersController, the following contents correspond to a basic baked .