Bugfix for redirect when user logs out