Change add user method to ajax