added functions to delete expired session entries

getSweeptimeDifference(): returns time difference between present time and time when expired session entries were last deleted
clearExpiredSession(): deletes expired sessions from database and update the date in session_last_sweeped table