fixed errors, got basic CRUD REST to work