Refactoring of the reader and writer a bit. Adding of passwordInfo array to the user class.