Removed password length check
Added salt to hash