reverted register/login back to original -- api didn't work out very well?