Added authorities to users.
added salt to security.