Added server-side  logic to the project.