refactored Model to use base class; cleaned up controller and view code.
login session persisting
added title to post db table
new user and post working