Implemented validation at the authorization page.