fixing redirect
minor: correct error with options
minor: correction auth file