Updated API page.
Fixes a bug when a user doesnt provide an email or password during registration.