force logout when viewing login page