Implemented cookies for persisent username storage