Update index.php

Added checkAccess to rightbar plugin