loading text fields from database