a basic social network built in rails