Added main menu page and error messages for failed permissions