add functionality to login validate
add something to login