User Authentication, API Handling

Handles #48 as well.
It was added later to provide bootstrap files.