fixing duplicate users addition