added session/auth, refactor code, added default image to gravatar