Implements user tokens component in edit profile.

* Break out edit profile page into components.
* Enable dynamically loading user emails on the edit profile page.
* Implement user tokens component on edit profile page (loading, renaming, revoking).
* Move API methods to an API package.
* Use JSON for POST/PUT methods.
* Add a TEMPORARY login route to avoid the hassle of email logins during dev.