added POST ability to homepage, expanded functional tests