homepage displays login/register dpending on the action your taking.