use location redirect for login page, to prevent view disposal chaos