@Post
	public ExeReport createModel(User user) throws IOException {

		if (user == null) {
			return ExeReportHelper.getParamterError();
		}

		EntityManager em = emf.createEntityManager();
		List<Long> ids = new LinkedList<Long>();

		try {

			em.getTransaction().begin();
			em.persist(user);
			em.getTransaction().commit();

			ids.add(user.getIdFromKey());

		} catch (Exception e) {
			System.out.println(e);
			return ExeReportHelper.getDataBaseError();
		}

		String data = "";
		try {
			data = om.writeValueAsString(user);
		} catch (Exception e) {
			e.printStackTrace();
			return ExeReportHelper.getJsonError(e.getMessage());
		} finally {
			em.close();
		}

		// TO LOG
		logController.createLog(data, ids, User.class.getName(),
				OperationTypeHelper.getCreate());

		return ExeReportHelper.getSuccess(String.valueOf(user.getIdFromKey()));
	}