add validation of length for login username input