fixed exception thrown (AccessDeniedException <> AccessDeniedHttpException)
added newlines at the end of several files