logging submit button