code to remove expired sessions 

minor coding style fix