fixed errors in intrusion, login and logout redirection