JSDoc3 comments added for LoginPage.js MainPage.js Registration.js Profile.js Validation.js Certificate.js PublicKeys.js. Some small bug fixing.