Fix login page
Add Types to app
Add types to views
Fix login page
In the middle of everything re adding types but probs with Postgres tables