creating resoruce controllers working now