Uodated to add the view posts page, still need to work out the
functionality