add User Class Function