Added Crypt and check pw methods