Adding a heartbeat function to logout users after being idle for too long
Fixing some display issues