bug fixed in code for binding session with ip

if no entry is found in db against the session id the cookie is reset in user's browser