Added error Page to display errors and type checking users
Usual changes