now storing data on the server side