Removes test-data

Use now real mongodb info
Introduces api
Uses email as id

prevents multiple accounts
Better categorisation of code
Better error handling on login

Returns real error code
turns `secure-routing` into a function

Takes now a function as arguments.
The function will be called with the corresponding user as argument
2 lines around categories
Removes debugging code
2 lines around categories
Adds new action to get the team members
`secure-routing` now takes a function as argument
Adds a function to retrieve users for email domain