Added encrypt password call beginnings