add login_required and ajax_required decorators to notifications views