removing the secure redirect when logging in