Fixed redirecting from a confirmed friendship to the users page loading JSON instead of HTML.