added entry resource to database, migrated, added actions to entries controller