\def\maketitle{%
  \begin{center}%
  \let \footnote \thanks
    {\Large \@title \par}%
  \end{center}%
\vspace{1ex}
\AtEndDocument{\bigskip\raggedleft{\small\@author\\\@date}\par}
\thispagestyle{plain}%
}
