sign up and sign in error handling.
fixed minor bugs after sign in.
fixed sign in header view bug