added functionality in the follow_user function to break when a user list is null