Remove needless code which was written for old code
Remove needless codes to handle input in the username box