old_contents: angular.module('farmplace')
  	.factory('UserService', ['$http', 'baseUrl', function($http, baseUrl) {
  		var User = {};
  		User.signup = function(user) {
  			return $http.post(baseUrl + '/api/signup', user).then(function(res) {
          return res;
        });
  		};
  
  		User.login = function(user) {
        return $http.post(baseUrl + '/api/login', user).then(function(res) {
          return res;
        });
      };
  
  		return User;
  	}]);
new_contents: angular.module('farmplace')
  	.factory('UserService', ['$http', 'baseUrl', function($http, baseUrl) {
  		var User = {};
  		User.signup = function(user) {
  			return $http.post(baseUrl + '/api/user/signup', user).then(function(res) {
          return res;
        });
  		};
  
  		User.login = function(user) {
        return $http.post(baseUrl + '/api/user/login', user).then(function(res) {
          return res;
        });
      };
  
  		return User;
  	}]);
subject: fix service routes