Edited user_controller.rb, added XML output to index page