log in to app as a redirect instead of a pop up