add ajax for add_request
merge new code and database