Registration page using Servlets to manage session and cookies for online and offline users.