clean code of social network passport