Fixed Re-Login Bug;

Signed-off-by: ashwinh <ashwinh@cybage.com>