tried to implement show method but no success
fixed some issues in api post and put requests