Added userController JS implementation
UserController implementation