Login bug fixed