CrazyLogin: improved isLogged in method
CrazyLogin: some code cleaning