Make use of POST, GET, PUT, DELETE for user.
Remove URL parameter when not defined in function.