Added strength and generate function to password management