login, logout works
login redirects to prev. page