starting login and validation typed