Beautified implementation
Removed logger in UserController and empty php tag in friendlist.phtml