Redirect to referer after registration or login
Disable debugging URLs