fix forwarding to login page after logout