Remove redundant function
Standardise routes to end with a slash
Add logout
Add flask-principal to reqs
Import flask-principal
Move user management into its own file
Update models table, remove unused tables
Add userpermissions table
Add basic methods for accessing user data
Add flask-login methods to user class
Correct typo in users creation
Login function uses data from db
Add setup function for userpermission
Add user permission function
Add a couple of users and some permissions for them for testing
Simplify flask-login and flask-principal setup
Simplify flask-login and flask-principal setu
Include flask-principal in login/out
Add basic permissions required to test edit, delete, and create
Add perms_required decorator