Updated so that footer would not display when prompted to login