Redirects/pop upwardly ad to a blank page as soon as I open the app