adding user encrypted password method and test