added new users functionality