getting ID from POST