added available_time field to courses db and added time conversion to insert statement