(feat) hooked up the client and server side

Added two middleware to server.js. 'cors' and 'body-parser'.
Changed getNotifications in notifications.js