added middleware
commented email
Merge pull request #102 from raymondma1/master

(feat) added middleware to get goals