Now keeps a store of logged in users in the database.

Logout removes it.

Login adds to it.

And get user looks at it if it's not currently held in memory.