Joining trip using ajax (not finished)