added method to retrieve role from database
updated websockets to send global messages to any use w/ read access