Refactored password requirement check
Updated README