refactoring code for the user follow relationships