public function editAction($username)
{
$user = $this->findUserBy('username', $username);
$form = $this->container->get('fos_user.form.user');
$form->process($user);
return $this->container->get('templating')->renderResponse('FOSUserBundle:User:edit.html.' . $this->getEngine(), array('form' => $form, 'username' => $user->getUsername()));
}