Removed flicker on login