now it will calculate the hour worked and also the total pay. and be
able to add to the database