Added stay logged in switch