adding task refactored to use meteor methods. more secure, more encapsulated