Added validation in sign in/up pages