LogIn check added