made monitoring role toggable and saved to database