The UAN is mandatory to log in to the EPFO account. So it is required to register with the UAN number on the EPFO website.