Fixed login feature bug fix