added optional redirect urls for methods