fixed login.c