created relationships and following functionality