a basic social network build in rails