login parse logic added