refactored factories.js.coffee
update user and course models
create additional models