Fixed bug where uninvited users caused a crash
Added unauthorized modal
Minor bug fixes for invited users