added models
added new database tables
added login resource
added authentication filter