Cleaned up Logger (better browser support) and added isLogged prototype