Adapted the site_index template to the new permissions. Fixed some minor
errors
Added a noew roles page and ajax interactions