Moved API endpoints to separate module
Added login functionality and template
Added refresh login functionality and template
Added logout functionality
Added base template layout
Changed API method from POST to GET
Added API_SECRET to API endpoints
Allowed login by RFID also, besides username
Added admin register functionality
Removed Flask-Scrypt for Werkzeug's password functions
Added create_admin and recreate_db to manager
Fixes and enhancements