Adding to database works