fix routing for entities extending PageBase Class, generate unique slug for this object after create and fix autoinput form annotation type