Added Username, registered check and some minor things