     return user
   }
   
-  private func purgeUsers() {
+  private func purgeUsersAndRepos() {
     let now = NSDate()
     
     // Check if it's time to purge users.
     
-    guard now.timeInterval(since: self.purgeTimeStamp) > UserPurgeInterval else {
+    guard now.timeInterval(since: self.purgeTimeStamp) > PurgeInterval else {
       return
     }
 

  }

  private func userForRequest(request: Request) -> User? {
    self.purgeUsers()
    
    guard let sessionIdentifier = request.session?.identifier,
          user = self.userForSessionIdentifier(sessionIdentifier)

import Vapor
import VaporZewoMustache

private let PurgeInterval = NSTimeInterval(60*60)
private let UserTimeoutInterval = NSTimeInterval(60*60*4)
private let MinQueryLength = 3

class App {
