initializing login.c script