fix bug that inputting any url can enter login form.