username input, ugly code