How to use two submit buttons with different functions?