Added user mgmt class

Added class for handling user management. Needs some updates and
customization.
Fixed database close command.
Added register page

Added register page, removed get cookie from other pages as it is
handled by the class. Having issue connecting to auth databse.
Fixed Connection to Auth DB

Problem with Auth DB was a typo in the keys file. Closed auth DB on
register page.
Added login system (no style)

Created pages for login system, there is no styling yet.  The account
recovery is yet to be written.
Merge pull request #2 from radam13/stev-dev

Pull updates to login system.