basic url and view to handle ajax post