fix for issue "User login" (Check user state for Login details)