Redirect back to referring page after login - adding this snippet to the functions.php of your wordpress theme will redirect visitors to the page they were viewing after logging in.