prevents redirect loop during signup