finished implementing model, view, controller, and db of user, session, and application