Login process is done.
Edited variable names are corrected.