took out process var in angular baseUrl and added properties to user schema