$repo = new Repository();
$repo->loadFromRequest();
$repopo = new Repository_Post($repo);
if ($repopo->process($_POST, $_SESSION)) {
$repo = new Repository();
$repo->loadFromRequest();
$repopo = new Repository_Post($repo);
if ($repopo->process($_POST, $_SESSION)) {