updated home#index resource to respond to get and post for facebook integration