password create & validation for private investment game