added not auth method and fixed post_params