After back masquerade path

Stored the redirect_to path string to a method, so it's easier to rewrite.