making httpHandler