Added random password method