add sign up test and fix bug of after sign up