Reload page on successful login
Include blog.js and bound the new post form to addPost method, preventing the default.