updated object model
refactored hash generation
removed unused "use" statements
updated db schema
auth code: factory, mapper interface, hash generator