Added support of custom signIn and signUp methods