fix warning
bind validateAuth to login button