Fixing sign in form events