add logout action to LoginController