Implement login
Implement login and register behaviour
Only allow edits for logged in users