Login Restriction bug Fixed