Added commenting to login.c