fixes redirect removes login and logout