Unused import in photo.py

Removed
Main page: view competitions

List all the competitions that are currently in progress.
Remove gql queries

Only use Query objects and their methods.