Added session expiration, started messing around with domains, minor tweaks