fix user edit page

As it turned out, the problem was the php version. In 5.4 the getName() is not there at var_dump, and also as __toString() method, but this way it's always get the right data