Fixed documents page being redirected to other page or 404 not found.

DONE with Update Status, being added to orderstatuslogs table when updating a booking.

added some functions in Documents Module Backend.