Moved the scopes to Attendee
attendee scopes get added to the DB
added a view code