With very incomplete signup, login, and logout functionality, but basically working. Slight tweaks.