Removed extra create action in moments_controller.
Cleaned up current_user, protected foreign keys in goal and moment models.
Removed moments view folder.
Removed unused view files in goals and user_sessions.
Added user_id to goal in create action rather than mass assigning.
Added delayed jobs. IT WORKS
resoleved merge conflict.