I am using dynamic content to alter the link to direct people to the right user depending on the page and am using a custom button to go to the altered messages link. When the button is clicked (when not logged in) it just shows a generic login form instead of taking me to wp-login, or my custom login page.