updated index to reflect changes in session cookies
minor format fix