created js file for create user form