Fixed home page so login form does not appear when logged in.