user controller with show and total credits