Updated: proper password generating.