New user function updated