Added database and password storage methods. User profile is now fully editable.