Signin form bug fixes