fixed a minor problem cause by routing definition

I forgot to correct the login and logout routes with :as keyword