fix the missing picture issue
fix users index and add spec
fix purchases and add spec