Fix the default name of Password digest, some testings added and change a label div to content_tag