initialized rails controller