Created function for returning a list of followers and following users