Adding categories to database
Check if category exists