Basic Registration, both for Rails api and ember