Added session timeout and automatic forward to login page