login page done with all error checking