Webapp project to calculate sleeping patterns