finally able to populate form values with existing data from mysql