code update

still a work in progress but there is now a login/logout ability and all
admin pages have been moved to a seperate controller so they have a
simple access control mechanism. adding posts also works and has some
simple validation.