Adds date and user id to availabilities and wires up an edit page for item