add counter script

gets ip and logs it and counts views