added logic for notification linking to actions, added logic for showing a user's badg count, and created API for reseting a user's badge count