Wrong url in register link. Make register use the other stylesheet. Used wrong debug mode constant