Partial 5.5.1 and 5.5.2

Just now need to implement the tow methods better.
encrypt_password
get_random_password