I am able to stay logged in a little longer but I guess the cookie or session is expiring other then that I reinstalled twice with no change in config or folder names.
I have tried adding this bunch of code to my .htaccess in hope it would solve this problem.
php_value session.cookie_lifetime 0
php_value session.gc_maxlifetime 0
PS I apologize if I have made any of the e107 devs mad with the way I do things that was not my intention. I am not much of a coder type person so I rely on the e107 team for all my problems.