Login bug fix, not working yet
Login bug