Simplify login and logout paths