extend fosrestcontroller