add login and signup validation logic
Signed-off-by: haddada <haddadaseif@gmail.com>