Refactor query in UserController@show method