Tested login and logout with selenium, and fixed up register to work properly too.