added models
added view for app
removed log statement from auth.js
added db connection code and using sessions
added code for getting user groups