Fixes #9: Move login/create user stuff