hook sign up button up to endpoint