added logout and proper sign in, register paths