user: add a method to save a user (change first/last name and picture)
set the content-type to JSON