Added database patch for CAS user management