Fixed sign in bug and updated URL rewrite documentation