Added cookie to store user login info and Session State stuff to store user session information.