functions are added to friend and group requests
functions are added to friend and group requests