Use Capitstrano, subdomain session tokens; fix routes