pswd generation and encryption added