<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def userForCert(store, cert):
 """Gets the user for the given certificate. """

    return store.findUnique(User, User.email == emailForCert(cert))