Set session timeout to 4 sec, Fix multiple profile selection bug.