I am designing my first plugin in wordpress although I have years of programming experience in php, visual basic, etc… My question is hopefully a simple one. I have an app landing page. Someone clicks a link and there you are. But if you are not logged in then I want you to be redirected to the login page and then have it return to my app page. How is this done?