populating dropdown with categories