Handled error and added error.erb