added lots of functionality and permissions for user roles
added audio alarm functionality