Added login and logout routes