fix errors on rendering of user show page and message