Fixed bug with redirect after logout;