Adding origin verification for server