Change so that it has autologout

Yee