Improvements to sign in flow