I encountered a problem with redirect linking.
What it do is for example in the contact_us.php page.
If use it when logged it simply log's you out.
To fix, goto:
catalog/includes/functions/general.php
Find:
function tep_redirect($url) {
ADD BELOW
$url = preg_replace('/&/','&',$url);

That's it

More...