beautify logging for objects

added post middleware
added HTTP Error Codes
separate content logic code from routes
updated api readme
/login use hashed password to compare with db
Merge pull request #1 from elanfs/master

New Cool Stuff