Added a server-side registration / authentication / storage api

Also expands front-end functionality