Splitting schema retrieval and filling form with record from DB