adds page 404 and 500
fixed
Remove unecessary method. Already in other.