Refratoring the create method in sites controller