fixed input names
cleanup, chaning form action
adding appid and key