Fixing view for register and adding 404 and 500 to views