Working on the duties connection system

Fixed bug in the system from the database and started creating the
system to add the staff to the duties.