Added Basic auth structure
Made authentication use database users
Added password hashing and filled out some user functionality