change authentication

replace basic authentication with authentication by post