Completes #2, makes past payments query conditional
Merge pull request #7 from luamilkshake/iss2

Make past payments query in front end file conditional