Do not redirect to “My Profile” page if already logged in & clicking on Log In

Hello.

Our site is using S2member PRO.

Currently when someone clicks on Log In or Register, they go to the respective pages and then if someone actually logs in, he/she is taken to the correct “Members” page by S2Member.

But if someone is ALREADY logged in and then he/she clicks on “Sign In” or “Register” then they are taken to the “My Profile” page.

So I was wondering if there is any way I can get them to go to the “Members” page if they click on “Log In” or “Register” when they are ALREADY logged into the site instead of it taking them to the “My Profile” page…??

Thanks a million in advance.