Added index and login pages.
Added gravatar support.