Added save and check password methos to SharedManager