all user input sent to database and tested