Added a before_filter for any action on notifications. Will redirect to login page if not logged in