Adding a better way to handle the mobile app redirects