after new user registration and adding new js and emp user login