put this line just bellow the session initialization $em = $this->getDoctrine()->getManager();
and replace the above two lines with 
$user = $em->getRepository('Seeder\FrontendBundle\Entity\User')->findOneBy(array('userFacebookId' => $user_profile['id']));