fixes logout. AGPUSH-140

The logout endpoint method didn't have a @POST so on a "successful" logout,  the error callback on the client would receive the response instead of the success callback