public List<String> logInUser() {
		List<String> serviceList = null;

		// Get user's service list
		if (user.getUserType().equals(UserTypes.buyer)) {
			serviceList = med
					.logInBuyer(user.getUsername(), user.getPassword());
		} else {
			if (user.getUserType().equals(UserTypes.seller)) {
				serviceList = med.logInSeller(user.getUsername(),
						user.getPassword());
			} else {
				System.err.println("User type undefined");
				System.exit(1);
			}
		}
		
		if (serviceList != null)
			user.setUserServiceList(serviceList);

		return serviceList;
	}