adding controller bean for serialization