Last Page Redirect

Any shortcodes or anything I can enter in to the settings to make the login and logout redirects go back to the current page. For example, if they logout using the admin bar on the top, to keep them on the same page.