Added the ability to add friends. Fixed an issue where the global 'user' variable is overwritten courtesy of Benson