Add password check code to login1.c