Part two - login and validating users.