Changed userRole function in profile php

UserRole function now uses the UserRole table
drop database at beginning of install script
Created an index on UserRole table for data integrity