Added password change logic and database dir
Added factandfictionC database logic