send request on keypress enter

solves issue #3