Minor problems with session/ajax.