Feature/login register

Use of Flask-Security and Flask-Login to allow registering and logging in