still not getting right response from rails controller, data object not holding response