Adding avatar feature to rails