added redirection check for Home Activity