added login logout routes