def identify_action
        action = @request[:uri_params].first
        if not action.nil? and respond_to?(action)
          # use the default http method as action
          @request[:action] = @request[:uri_params].shift.to_sym