categories can now be fetched from db, category dropdown improved to load from db