implemented output of from db and clear of page everytime hit enter, added some css rules