redirect back to where we came from after auth, and tidy a little