Updates for admin page and send function
Added try, catch exception to handle the ajax request testing if apikey and room name is correct