Revert "Very small but important fix!"

This reverts commit bfe398e632090096db76181f258532599ac9769b.
Fix duplicate usernames and check all usernames using regex before login.