Create account api endpoint

Opened in favor of #26