moved embedded ruby from profile.erb to index.rb