Defined a CanCan ability to grand access only for certain user roles. Add an admin attribute in users table.