Activated Flask-Security

There's now login/logout behavior.