redirect index to home if logged in