Social networking application with rails 4