Added intial code for friends functionality