Added conditional for actions on splash page