Set proper api endpoints and streamlined posting process.
Completed function to assign users to shifts.