trying to get the register button to work
alerts when succeeded
alerts on success