login and signup page validation