actually iam not sure if the way i approach this makes sense or if i should leave handling of the webserver completly to the user