I have made a sign up and a login system that takes a username and a password, the password will be hashed along with a salt that is made from the hashed, random salted username.
You are also able to change your password and this new password will also be securly hashed and salted.