Fixed redirecting to the users page after confirming a friendship showing JSON instead of HTML

Worked with and inspired by @EddieSpencer