Fix the logout after Register

Commented out lines 795 and 796. 
First test says it causes no other bugs. Will have to test in live environment. 

In case of worse problems, uncomment.