@Override
	public void updateUser(User user) {
		User old = userDao.findById(user.getId());
		if(old==null)
			return ;
		//cannot update so return null
		old.setName(user.getName());
		old.setSurname(user.getSurname());
		userDao.saveOrUpdate(old);
	}