validate input on signup screen