created auth controller and config js files