Added uid field to blogs.
Added function to load all blogs.
Code cleanup.
Replace logged in variable with best practice check.