fixed AlertsController current_user.id instead of current_user