Added server side functionality to the application