redirect from login page if already logged in, homepage renders different layout without sidebar