reorganized to make it much more modular, using blueprints now too
trying to setup a user login/register page, error 500