Add controller actions for login and logout