username email check added
added email username check
added logout