Fix bug on html login