Added pages for login/logout

Also created a basic db model
Included a digest library for hashing