Added cookies and sessions
added search functionality