public ClientEntity GetClientByUsername(string username) { ClientEntity client = clientDao.getClientByUsername(username); if (client != null) { client.CleanUserInfo(); } return(client); }