add mapping to all operations in pb app

Change-Id: I5bf95563e60392939fa62ebe6cbbc7b2e6733cd6
extract password validation logic to PasswordValidator

Change-Id: Idc567066b4c30932db78ec9f217837bd2f79374c