Check locked and reset password upon login-  Manli